﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="NiDingJHCC_Browse.aspx.cs" Inherits="Web.Pages.YongShui.JiHuaGL.NiDingJHCC_Browse" Theme="Default" ValidateRequest="false" %>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <br />
        <div class="tabletitle1" align="center">
            浏览拟定计划
        </div>
        <asp:UpdatePanel ID="updatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <div style="font-weight: bold; text-align: center;">
                        <%--<p>2016年拟定计划</p>--%>
                    </div>
                    <div>
                        <dx:ASPxGridView ID="gvXiangXiXX" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Theme="Aqua1" Width="100%">
                            <Columns>
                                <dx:GridViewDataTextColumn FieldName="S_YONGHUH" Caption="用户编号" Width="10%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="YONGHUM" Caption="户名" Width="25%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M1" Caption="一月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M2" Caption="二月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M3" Caption="三月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M4" Caption="四月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M5" Caption="五月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M6" Caption="六月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M7" Caption="七月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M8" Caption="八月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M9" Caption="九月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M10" Caption="十月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M11" Caption="十一月" Width="6%">
                                </dx:GridViewDataTextColumn>
                                <dx:GridViewDataTextColumn FieldName="I_M12" Caption="十二月" Width="6%">
                                </dx:GridViewDataTextColumn>
                            </Columns>
                            <Settings VerticalScrollableHeight="250" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                        </dx:ASPxGridView>
                    </div>
                    <div>
                        <table id="Table1" runat="server" style="width: 100%">
                            <tr>
                                 <td>
                                    <dx:ASPxButton ID="btnExport2" runat="server"  Text="导出EXCEL" UseSubmitBehavior="false" >
                                        <ClientSideEvents Click="function(s,e){btnExport.OnClick();}"/>
                                    </dx:ASPxButton>
                                </td>  
                                <td style="text-align: right;">
                                   
                                   <%-- <dx:ASPxButton ID="btnDaYin" runat="server" Text="打印" OnClick="btnDaYin_Click" UseSubmitBehavior="false">
                                    </dx:ASPxButton>--%>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
          <div style="display: none;">
            <dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server"></dx:ASPxGridViewExporter>
            <dx:ASPxButton ID="btnExport" runat="server" ClientInstanceName="btnExport" Text="导出EXCEL" OnClick="btnExport_Click" UseSubmitBehavior="false">
            </dx:ASPxButton>
        </div>  
    </form>
</body>
</html>
